projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05eb411
)
filechooser: Fix set-but-not-used warning from gcc
author
Benjamin Otte
<otte@redhat.com>
Sat, 9 Jul 2011 19:24:41 +0000
(21:24 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 9 Jul 2011 19:24:41 +0000
(21:24 +0200)
gtk/gtkfilechooserdefault.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserdefault.c
b/gtk/gtkfilechooserdefault.c
index aab4b04b04a36175081826d059d4b8c1aaf8ba3d..24904d397a2429f45c61de74c0213f24940f4208 100644
(file)
--- a/
gtk/gtkfilechooserdefault.c
+++ b/
gtk/gtkfilechooserdefault.c
@@
-1452,7
+1452,6
@@
get_file_info_finished (GCancellable *cancellable,
const GError *error,
gpointer data)
{
- gint pos = -1;
gboolean cancelled = g_cancellable_is_cancelled (cancellable);
GdkPixbuf *pixbuf;
GtkTreePath *path;
@@
-1465,7
+1464,6
@@
get_file_info_finished (GCancellable *cancellable,
/* Handle doesn't exist anymore in the model */
goto out;
- pos = gtk_tree_path_get_indices (path)[0];
gtk_tree_model_get_iter (GTK_TREE_MODEL (request->impl->shortcuts_model),
&iter, path);
gtk_tree_path_free (path);